Patchstack\Extensions\WordPress\Extension A

Total Complexity 74
Dependencies 1
Dependents 1
Total lines 422
Lines of code 211
Logical lines of code 123
Comment lines 128
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
isWhitelisted()
B
41 22 49
isWhitelistedCustom()
A
46 14 38
logRequest()
A
51 10 24
canBypass()
A
55 9 18
isBlocked()
S
53 4 24
isLegacyRuleMatch()
S
60 4 14
check_range_rule()
S
62 3 11
isFileUploadRequest()
S
78 2 3
__construct()
S
75 1 4
forceExit()
S
69 1 7
getIpAddress()
S
81 1 3
getHostName()
S
79 1 3
check_subnet_mask_rule()
S
65 1 8
check_wildcard_rule()
S
71 1 5